package com.qianfeng.wuyang.himalaya.adapter.recommendadapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import com.qianfeng.wuyang.himalaya.fragment.RecommendDiscoveryFragment;

/**
 * Created by WangQing on 2016/12/7.
 */

public class DiscoveryFragmentPagerAdapter extends FragmentPagerAdapter {


    public DiscoveryFragmentPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return RecommendDiscoveryFragment.newInstance();
    }

    @Override
    public int getCount() {
        return 1;
    }
}
